# Run in phpMyAdmin or Whatever You're Using to Reach your Database Panel:
INSERT INTO `settings` (`id`, `access_key`, `value`) VALUES (NULL, 'u_2f_authentication', '0');
ALTER TABLE `users` ADD `two_factor_authentication` TINYINT UNSIGNED NOT NULL DEFAULT '0' AFTER `is_verified`;
CREATE TABLE `users_rememberings` (`id` INT UNSIGNED NOT NULL AUTO_INCREMENT , `user_id` INT UNSIGNED NOT NULL , `token` VARCHAR(32) NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;
INSERT INTO `email_templates` (`id`, `title`, `subject`, `hook`, `language`, `template`, `is_built_in`, `updated_at`, `created_at`) VALUES (NULL, 'Two Factor Authentication', 'Two Factor Authentication', '2f_authentication', 'english', '<p>Hi {USER_NAME},<br><br>Your two-factor authentication code is {2F_CODE}.<br><br>Thanks,<br>{SITE_NAME}<br></p>', '1', NULL, '1696239001');
INSERT INTO `settings` (`id`, `access_key`, `value`) VALUES (NULL, 'u_2fa_cookie_expiry', '+1 year'), (NULL, 'u_2fa_show_remember', '1');